package com.own.component.log.operation.property;

import com.own.constant.ConstantValue;
import lombok.Data;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * LogOperationProperty
 *
 * @author chenxueli
 * @date 2023-07-10 16:52:08
 */
@Data
@SpringBootConfiguration
@ConfigurationProperties(prefix = LogOperationProperty.PREFIX)
public class LogOperationProperty {

    public static final String PREFIX = ConstantValue.CONFIG_VALUE_CONTENT + "log.operation";

    /**
     * 是否采集信息
     */
    private boolean collect = false;

    /**
     * 服务名称
     */
    private String serviceName;

}
